package Tax;

public class Tax2 extends Tax{
    public Tax2(int a, int b, int c, int d, int e, int sum) {
        super(a, b, c, d, e, sum);
    }

    public double getTax() {
        return super.a*0.1 + (super.sum-super.a)*0.15;
    }
}
